home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 February / macformat-047.iso / Shareware Plus / Developers / DLOGManager 1.02 / Source Code / CDefPushButton_v002.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1.1 KB  |  45 lines  |  [TEXT/KAHL]

  1. /***
  2.  *    CDefPushButton_v002.cp
  3.  *
  4.  *    Handle a push button.
  5.  *    © 1994-96 Francesco Cadili.
  6.  *
  7.  ****/
  8. #ifndef __CDefPushButton__
  9. #define __CDefPushButton__
  10. #ifndef __CPushButton__
  11. #include "CPushButton_v002.h"
  12. #endif
  13.  
  14. class CDefPushButton: public CPushButton
  15. {
  16.     public:
  17.         short inputField;        //    the field associatet to the default button
  18.  
  19.         /****
  20.          *     Procedura: "drawDefault()"
  21.          *
  22.          *    Nota (viene usato il valore massimo e minimo per stabilire se il bottone
  23.          *    è abilitato)
  24.          *
  25.          *    Par INPUT:    'theDialog' il puntatore al dialog.
  26.          *                'itemButton' il numero di item del bottone.
  27.          *    Val OUTPUT:    true se tutto ok, false altrimenti.
  28.          *
  29.          ****/
  30.         Boolean CDefPushButton::drawDefault(void);
  31.         
  32.         /****
  33.          *    Procedura: "InvalDefaultButton()"
  34.          *
  35.          *    Nota (viene usato il valore massimo e minimo per stabilire se il bottone
  36.          *    è abilitato)
  37.          *
  38.          *    Par INPUT:    'theDialog' il puntatore al dialog.
  39.          *                'itemButton' il numero di item del bottone.
  40.          *    Val OUTPUT:    true se tutto ok, false altrimenti.
  41.          *
  42.          *****/
  43.         Boolean CDefPushButton::InvalDefaultButton(void);
  44. };
  45. #endif